<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>订单查询</title>
    <meta charset="utf-8" />
    <meta content="no-cache,must-revalidate" http-equiv="Cache-Control" />
    <meta content="no-cache" http-equiv="pragma" />
    <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=2.0,minimum-scale=1.0,user-scalable=no;" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <script src="/other/odersearch/jquery-1.11.3.min.js"></script>
    <link rel="stylesheet" href="/other/odersearch/cx.css">
    <script type="text/javascript" src="/other/odersearch/rem.js"></script>
    <script>
        function sub() {
            var phone = $("#phone").val().trim();
            if (phone == "") {
                alert("请输入收件人手机号");
                return false;
            } else if (phone.length != 11) {
                alert("输入的号码有误");
                return false;
            }
            location.href = "/kzq/GetOrder.php?phone=" + phone;
        }

        $(document).ready(function() {
            $('#phone').keypress(function(e) {
                if (e.which == 13) { // 按下回车键
                    e.preventDefault(); // 阻止默认行为
                    sub(); // 调用查询函数
                }
            });
        });
    </script>
</head>
<body>
    <div class="cx_cen">
        <div class="cx_1"><img src="/img/top1.png" width="" height="" alt="" /></div>
        <div class="cx_2">
            <form>
                <input class="cx_text" type="text" id="phone" name="phone" placeholder="请输入收货人手机号码">
                <a class="cx_btn" href="javascript:sub();">查询</a>
            </form>
        </div>
        <!--<div class="cx_3"><img src="/images/top2.png" width="" height="" alt="" /></div>-->
    </div>
</body>
</html>
